﻿using Xejen.Communication.Soap.Abstract;
using Xejen.Communication.Soap.Configuration;
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;

namespace Xejen.Communication.Soap
{
    /// <summary>
    /// 用于创建一个Soap请求调用，他是采用CodeDom技术调用的
    /// </summary>
    /// <creator>marc</creator>
    public class WcfInvokerCreator : ISoapInvokerCreator<WcfInvoker>
    {
        /// <inheritdoc/>
        public WcfInvoker Create(SoapConfig config)
        {
            WcfInvoker request = new WcfInvoker(config);
            
            return request;
        }
    }
}
